<?php if(count($medias)){ ?>
<div class="hl-section">

	<div class="hl-section-title">Danh sách sản phẩm đã xem</div>
    
    <div class="hl-section-content">
    	<table>
            <?php foreach($medias as $media){ ?>
			<tr>
            	<td width="100px" align="center"><img src="<?php echo $media['imagethumbnail']?>"></td>
                <td>
                	<a href="<?php echo $media['link']?>"><?php echo $media['title']?></a><br>
                    <table>
                    	<tr>
                        	<td>Giá:</td>
                            <td>
                    			<?php $cls = '';?>
                                <?php if($media['pricepromotion']){ ?>
                                <?php $cls = 'product-price-no';?>
                                <div class="product-pricepromotion">
                                    <?php echo $this->string->numberFormate($media['pricepromotion'])?> <?php echo $this->document->setup['Currency']?>
                                </div>
                                <?php } ?>
                                <div class="product-price <?php echo $cls?>">
                                	<?php echo $this->string->numberFormate($media['price'])?> <?php echo $this->document->setup['Currency']?>
                                </div>        
                            </td>
                        </tr>
                    </table>
                    
                    
                </td>
            </tr>            
            <?php }?>	
        </table>
    	
    </div>

</div>
<?php } ?>